package cn.itcast.xuesheng.service;

import cn.itcast.xuesheng.domain.PageBean;
import cn.itcast.xuesheng.domain.Topic;

import java.util.List;

public interface TopicService {
    public PageBean<Topic> pageQuery(int cid, int currentPage, int pageSize, String title);

    public PageBean<Topic> pageQueryForUsername(String username, int currentPage, int pageSize);

    public void update(String num, String tid);

    public List<Topic> queryforxue();

    public List<Topic> queryforxue2();

    public List<Topic> queryfortu();

    public List<Topic> queryfortu2();

    public List<Topic> queryfortnanv();

    public List<Topic> queryforimg();

    public List<Topic> queryforxue3();

    public List<Topic> queryforx4();

    public void insertcontext(String username, String title, String context, String cid, String cname, String date,String imgcontext);

}
